package Content;
import java.io.File;

/**
 * TCSS 360 - Winter 2014
 * TESK Software
 */

/**
 * Represents a review object.
 * 
 * @author Emily Linniman
 * @version March 2, 2014
 *
 */

public class Review {
	
	/** The ID that identifies the review. */
	private int id;
	
	/** The file that contains the review. */
	private File reviewFile;
	
	/** The reviewer that reviewed the paper. */
	private String reviewer;
	
	/**
	 * Constructs a review object.
	 * 
	 * @param the_reviewFile the given review file
	 * @param the_reviewer the given reviewer
	 */
	public Review(File the_reviewFile, String the_reviewer) {
		reviewFile = the_reviewFile;
		reviewer = the_reviewer;
	}
	
	/**
	 * Sets the ID of the review.
	 * @param the_id the given id to set to the review.
	 */
	public void setID(int the_id) {
		id = the_id;
	}
	
	/**
	 * Accesses the ID of the review.
	 * @return the ID of the review
	 */
	public int getID() {
		return id;
	}
	
	/**
	 * Accesses the review file of the review object.
	 * @return the review file
	 */
	public File getReview() {
		return reviewFile;
	}
	
	/**
	 * Accesses the reviewer of the review object.
	 * @return the reviewer of the review
	 */
	public String getReviewer() {
		return reviewer;
	}
}
